"""
@author:menglei
@desc:多多进宝商品详情查询
"""
from pdd.api.base import RestApi


class PddDdkGoodsDetailRequest(RestApi):
    """
    @:param: custom_parameters:STRING:自定义参数
    @:param: goods_id_list:LONG[]:商品ID，仅支持单个查询。例如：[123456]
    @:param: pid:STRING:推广位id
    @:param: plan_type:INTEGER:佣金优惠券对应推广类型，3：专属 4：招商
    @:param: search_id:STRING:搜索id，建议填写，提高收益。来自pdd.ddk.goods.recommend.get、pdd.ddk.goods.search、pdd.ddk.top.goods.list.query等接口
    @:param: zs_duo_id:LONG:招商多多客ID
    """
    def __init__(self,domain='https://gw-api.pinduoduo.com'):
        RestApi.__init__(self, domain)
        self.custom_parameters = None
        self.goods_id_list = None
        self.pid = None
        self.plan_type = None
        self.search_id = None
        self.zs_duo_id = None

    def getapiname(self):
        return 'pdd.ddk.goods.detail'